{"version":3,"sources":["variablesfield.bundle.js"],"names":["this","BX","Landing","UI","exports","landing_ui_field_textfield","main_core","landing_ui_button_basebutton","main_popup","landing_pageobject","_templateObject","_templateObject2","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","babelHelpers","defineProperty","getOwnPropertyDescriptors","defineProperties","instances","Symbol","VariablesField","_TextField","inherits","options","_this","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","textOnly","setEventNamespace","onButtonClick","bind","assertThisInitialized","onTopDocumentClick","Event","window","top","document","Dom","append","getLayout","layout","createClass","value","onInputClick","event","lastRange","input","ownerDocument","createRange","innerText","getSelection","getRangeAt","_this2","cache","remember","Tag","render","taggedTemplateLiteral","getButton","_this3","getMenu","_this4","rootWindow","PageObject","getRootWindow","menu","Main","Menu","bindElement","targetContainer","autoHide","maxHeight","items","variables","map","variable","delimiter","text","name","onclick","onVariableClick","close","events","onPopupShow","item","setTimeout","style","getMenuContainer","left","right","onInputInput","currentDocument","get","prototype","enableEdit","focus","removeAllRanges","addRange","execCommand","concat","preventDefault","stopPropagation","collapse","childNodes","getPopupWindow","isShown","show","getValue","TextField","Field","Button"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,GACrBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,GACrCF,KAAKC,GAAGC,QAAQC,GAAKH,KAAKC,GAAGC,QAAQC,IAAM,IAC1C,SAAUC,EAAQC,EAA2BC,EAAUC,EAA6BC,EAAWC,GAC/F,aAEA,IAAIC,EAAiBC,EAErB,SAASC,EAAQC,EAAQC,GAAkB,IAAIC,EAAOC,OAAOD,KAAKF,GAAS,GAAIG,OAAOC,sBAAuB,CAAE,IAAIC,EAAUF,OAAOC,sBAAsBJ,GAASC,IAAmBI,EAAUA,EAAQC,QAAO,SAAUC,GAAO,OAAOJ,OAAOK,yBAAyBR,EAAQO,GA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